/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package doan.quanlycanbo.portlet.service;

/**
 * <p>
 * This class is a wrapper for {@link quatrinhnghiencuuLocalService}.
 * </p>
 *
 * @author    Nguyen Tuan Vinh
 * @see       quatrinhnghiencuuLocalService
 * @generated
 */
public class quatrinhnghiencuuLocalServiceWrapper
	implements quatrinhnghiencuuLocalService {
	public quatrinhnghiencuuLocalServiceWrapper(
		quatrinhnghiencuuLocalService quatrinhnghiencuuLocalService) {
		_quatrinhnghiencuuLocalService = quatrinhnghiencuuLocalService;
	}

	/**
	* Adds the quatrinhnghiencuu to the database. Also notifies the appropriate model listeners.
	*
	* @param quatrinhnghiencuu the quatrinhnghiencuu to add
	* @return the quatrinhnghiencuu that was added
	* @throws SystemException if a system exception occurred
	*/
	public doan.quanlycanbo.portlet.model.quatrinhnghiencuu addquatrinhnghiencuu(
		doan.quanlycanbo.portlet.model.quatrinhnghiencuu quatrinhnghiencuu)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.addquatrinhnghiencuu(quatrinhnghiencuu);
	}

	/**
	* Creates a new quatrinhnghiencuu with the primary key. Does not add the quatrinhnghiencuu to the database.
	*
	* @param maquatrinhnc the primary key for the new quatrinhnghiencuu
	* @return the new quatrinhnghiencuu
	*/
	public doan.quanlycanbo.portlet.model.quatrinhnghiencuu createquatrinhnghiencuu(
		long maquatrinhnc) {
		return _quatrinhnghiencuuLocalService.createquatrinhnghiencuu(maquatrinhnc);
	}

	/**
	* Deletes the quatrinhnghiencuu with the primary key from the database. Also notifies the appropriate model listeners.
	*
	* @param maquatrinhnc the primary key of the quatrinhnghiencuu to delete
	* @throws PortalException if a quatrinhnghiencuu with the primary key could not be found
	* @throws SystemException if a system exception occurred
	*/
	public void deletequatrinhnghiencuu(long maquatrinhnc)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		_quatrinhnghiencuuLocalService.deletequatrinhnghiencuu(maquatrinhnc);
	}

	/**
	* Deletes the quatrinhnghiencuu from the database. Also notifies the appropriate model listeners.
	*
	* @param quatrinhnghiencuu the quatrinhnghiencuu to delete
	* @throws SystemException if a system exception occurred
	*/
	public void deletequatrinhnghiencuu(
		doan.quanlycanbo.portlet.model.quatrinhnghiencuu quatrinhnghiencuu)
		throws com.liferay.portal.kernel.exception.SystemException {
		_quatrinhnghiencuuLocalService.deletequatrinhnghiencuu(quatrinhnghiencuu);
	}

	/**
	* Performs a dynamic query on the database and returns the matching rows.
	*
	* @param dynamicQuery the dynamic query to search with
	* @return the matching rows
	* @throws SystemException if a system exception occurred
	*/
	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.dynamicQuery(dynamicQuery);
	}

	/**
	* Performs a dynamic query on the database and returns a range of the matching rows.
	*
	* <p>
	* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
	* </p>
	*
	* @param dynamicQuery the dynamic query to search with
	* @param start the lower bound of the range of model instances to return
	* @param end the upper bound of the range of model instances to return (not inclusive)
	* @return the range of matching rows
	* @throws SystemException if a system exception occurred
	*/
	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end) throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.dynamicQuery(dynamicQuery, start,
			end);
	}

	/**
	* Performs a dynamic query on the database and returns an ordered range of the matching rows.
	*
	* <p>
	* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
	* </p>
	*
	* @param dynamicQuery the dynamic query to search with
	* @param start the lower bound of the range of model instances to return
	* @param end the upper bound of the range of model instances to return (not inclusive)
	* @param orderByComparator the comparator to order the results by
	* @return the ordered range of matching rows
	* @throws SystemException if a system exception occurred
	*/
	@SuppressWarnings("rawtypes")
	public java.util.List dynamicQuery(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
		int end,
		com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.dynamicQuery(dynamicQuery, start,
			end, orderByComparator);
	}

	/**
	* Counts the number of rows that match the dynamic query.
	*
	* @param dynamicQuery the dynamic query to search with
	* @return the number of rows that match the dynamic query
	* @throws SystemException if a system exception occurred
	*/
	public long dynamicQueryCount(
		com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.dynamicQueryCount(dynamicQuery);
	}

	/**
	* Gets the quatrinhnghiencuu with the primary key.
	*
	* @param maquatrinhnc the primary key of the quatrinhnghiencuu to get
	* @return the quatrinhnghiencuu
	* @throws PortalException if a quatrinhnghiencuu with the primary key could not be found
	* @throws SystemException if a system exception occurred
	*/
	public doan.quanlycanbo.portlet.model.quatrinhnghiencuu getquatrinhnghiencuu(
		long maquatrinhnc)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.getquatrinhnghiencuu(maquatrinhnc);
	}

	/**
	* Gets a range of all the quatrinhnghiencuus.
	*
	* <p>
	* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
	* </p>
	*
	* @param start the lower bound of the range of quatrinhnghiencuus to return
	* @param end the upper bound of the range of quatrinhnghiencuus to return (not inclusive)
	* @return the range of quatrinhnghiencuus
	* @throws SystemException if a system exception occurred
	*/
	public java.util.List<doan.quanlycanbo.portlet.model.quatrinhnghiencuu> getquatrinhnghiencuus(
		int start, int end)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.getquatrinhnghiencuus(start, end);
	}

	/**
	* Gets the number of quatrinhnghiencuus.
	*
	* @return the number of quatrinhnghiencuus
	* @throws SystemException if a system exception occurred
	*/
	public int getquatrinhnghiencuusCount()
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.getquatrinhnghiencuusCount();
	}

	/**
	* Updates the quatrinhnghiencuu in the database. Also notifies the appropriate model listeners.
	*
	* @param quatrinhnghiencuu the quatrinhnghiencuu to update
	* @return the quatrinhnghiencuu that was updated
	* @throws SystemException if a system exception occurred
	*/
	public doan.quanlycanbo.portlet.model.quatrinhnghiencuu updatequatrinhnghiencuu(
		doan.quanlycanbo.portlet.model.quatrinhnghiencuu quatrinhnghiencuu)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.updatequatrinhnghiencuu(quatrinhnghiencuu);
	}

	/**
	* Updates the quatrinhnghiencuu in the database. Also notifies the appropriate model listeners.
	*
	* @param quatrinhnghiencuu the quatrinhnghiencuu to update
	* @param merge whether to merge the quatrinhnghiencuu with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
	* @return the quatrinhnghiencuu that was updated
	* @throws SystemException if a system exception occurred
	*/
	public doan.quanlycanbo.portlet.model.quatrinhnghiencuu updatequatrinhnghiencuu(
		doan.quanlycanbo.portlet.model.quatrinhnghiencuu quatrinhnghiencuu,
		boolean merge)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.updatequatrinhnghiencuu(quatrinhnghiencuu,
			merge);
	}

	public doan.quanlycanbo.portlet.model.quatrinhnghiencuu getByPrimaryKey(
		long maqtnn)
		throws com.liferay.portal.kernel.exception.SystemException,
			doan.quanlycanbo.portlet.NoSuchquatrinhnghiencuuException {
		return _quatrinhnghiencuuLocalService.getByPrimaryKey(maqtnn);
	}

	public java.util.List<doan.quanlycanbo.portlet.model.quatrinhnghiencuu> getAll()
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.getAll();
	}

	public java.util.List<doan.quanlycanbo.portlet.model.quatrinhnghiencuu> getByHoso(
		long mahoso) throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.getByHoso(mahoso);
	}

	public doan.quanlycanbo.portlet.model.quatrinhnghiencuu addQTNC(
		doan.quanlycanbo.portlet.model.quatrinhnghiencuu qtnc1, long userId)
		throws com.liferay.portal.kernel.exception.SystemException {
		return _quatrinhnghiencuuLocalService.addQTNC(qtnc1, userId);
	}

	public doan.quanlycanbo.portlet.model.quatrinhnghiencuu updateQTNC(
		long maqtnc, java.lang.String tendetai, java.util.Date tungay,
		java.util.Date denngay)
		throws com.liferay.portal.kernel.exception.SystemException,
			doan.quanlycanbo.portlet.NoSuchdienbienhochamException,
			doan.quanlycanbo.portlet.NoSuchdienbienluongException,
			doan.quanlycanbo.portlet.NoSuchquatrinhnghiencuuException {
		return _quatrinhnghiencuuLocalService.updateQTNC(maqtnc, tendetai,
			tungay, denngay);
	}

	public void deleteQTNC(long maqtnc)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		_quatrinhnghiencuuLocalService.deleteQTNC(maqtnc);
	}

	public void deleteQTNC(
		doan.quanlycanbo.portlet.model.quatrinhnghiencuu qtnc)
		throws com.liferay.portal.kernel.exception.PortalException,
			com.liferay.portal.kernel.exception.SystemException {
		_quatrinhnghiencuuLocalService.deleteQTNC(qtnc);
	}

	public quatrinhnghiencuuLocalService getWrappedquatrinhnghiencuuLocalService() {
		return _quatrinhnghiencuuLocalService;
	}

	private quatrinhnghiencuuLocalService _quatrinhnghiencuuLocalService;
}